.nav, .nav ul {
    list-style: none outside none;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, Segoe WPC, Segoe UI, HelveticaNeue-Light, Noto Sans, Microsoft YaHei, PingFang SC, Hiragino Sans GB, Source Han Sans SC, Source Han Sans CN, Source Han Sans, sans-serif;
}

.nav {
    width: auto;
    margin: 0 0 0;
    clear: both;
    font-size: 12px;
    height: 34px;
    padding: 0 0 0 0px;
    position: relative;
    -webkit-app-region: no-drag;
    padding-top: 2px;
}

.nav ul {
    background-color: #353535;
    border: 1px solid #222;
    border-radius: 0 5px 5px 5px;
    border-width: 0 1px 1px;
    /*box-shadow: 0 5px 5px rgba(0, 0, 0, 0.5);*/
    left: -9999px;
    overflow: hidden;
    position: absolute;
    top: -9999px;
    z-index: 2;
}

.nav li {
    /*background: url('menu_line.png') no-repeat scroll right 5px transparent;*/
    float: left;
    position: relative;

    height: 30px;
}

.nav li a {
    color: #c9caca;
    display: block;
    float: left;
    font-weight: normal;
    white-space: nowrap;
    padding: 10px 10px 5px 10px;
    position: relative;
    text-decoration: none;
    font-family: -apple-system, BlinkMacSystemFont, Segoe WPC, Segoe UI, HelveticaNeue-Light, Noto Sans, Microsoft YaHei, PingFang SC, Hiragino Sans GB, Source Han Sans SC, Source Han Sans CN, Source Han Sans, sans-serif;

}

.nav li:hover > a {
    /*color: #00B4FF;*/
}

.nav li:hover, #nav a:hover, #nav a:active {
    background: none repeat scroll 0 0 #3f3d3c;
    outline: 0 none;
}
#makerDebugger {
    display: flex;
    justify-content: flex-end;
}
.toolLi {
    width: auto;
    margin: 0 0 0;
    clear: both;
    font-size: 12px;
    padding: 0 0 0 0px;
    position: relative;
    -webkit-app-region: no-drag;
    box-sizing: border-box;
    white-space: nowrap;
}
.toolLi li{
    display: inline-block;
    position: relative;
    -webkit-app-region: no-drag;
    list-style-type:none;
    margin-top: 6px;
}
.toolLi li::after {
    content: attr(data-title);
    position: absolute;
    bottom: -25px;
    width: 0;
    left: 15px;
    text-align: center;
    height: 0;
    line-height: 20px;
    font-size: 12px;
    display: none;
}
.toolLi li:hover::after {
    width: auto;
    min-width: 60px;
    height: 24px;
    line-height: 24px;
    transition-delay: .4s;
    transition-property: all;
    display: block;
}
.toolLi .layacloud {
    width: 40px;
    height: 30px;
    padding-top: 7px;
    box-sizing: border-box;
}
.toolLi .layacloud-tool-item {
    cursor: pointer;
}
.toolLi .icon {
    width: 20px; 
    height: 20px;
    padding: 5px 10px;
    vertical-align: -0.15em;
    overflow: hidden;
}
.toolLi .layacloud-tool-first {
    border-left: 1px solid #fff;
}
.toolLi li a {
    color: #c9caca;
    display: block;
    float: left;
    font-weight: normal;
    white-space: nowrap;
    /* padding: 5px 10px 5px 10px; */
    position: relative;
    text-decoration: none;
    font-family: -apple-system, BlinkMacSystemFont, Segoe WPC, Segoe UI, HelveticaNeue-Light, Noto Sans, Microsoft YaHei, PingFang SC, Hiragino Sans GB, Source Han Sans SC, Source Han Sans CN, Source Han Sans, sans-serif;

    /*font-family: "-apple-system, BlinkMacSystemFont, Segoe WPC, Segoe UI, HelveticaNeue-Light, Noto Sans, Microsoft YaHei, PingFang SC, Hiragino Sans GB, Source Han Sans SC, Source Han Sans CN, Source Han Sans, sans-serif";*/
}
.toolLi li:hover{
    /* background: none repeat scroll 0 0 #3f3d3c; */
    outline: 0 none;
}

.toolLi select {
    height: 22px;
    background-color: #212121;
    border-color: #595757;
    color: #CCCCCC;
    font-size: 12px;
    position: relative;
    bottom: 13px;
}

.toolLi .tool-newpro {
    background-image: url("../skins/dark/ide/image/tool-newpro.png");
}

.toolLi .tool-save {
    background-image: url("../skins/dark/ide/image/tool-save.png");
}

.toolLi .tool-compile {
    background-image: url("../skins/dark/ide/image/tool-compile.png");
}

.toolLi .tool-debug {
    background-image: url("../skins/dark/ide/image/tool-debug.png");
}

.toolLi .tool-run {
    background-image: url("../skins/dark/ide/image/tool-run.png");
}

.toolLi .tool-publish {
    background-image: url("../skins/dark/ide/image/tool-publish.png");
}

.toolLi .tool-qrcode {
    background-image: url("../skins/dark/ide/image/tool-qrcode.png");
}

.nav li:hover ul.subs {
    left: -1px;
    top: 30px;
    width: 180px;
    -webkit-transform: scaleY(1);
    transform: scaleY(1);
    font-family: -apple-system, BlinkMacSystemFont, Segoe WPC, Segoe UI, HelveticaNeue-Light, Noto Sans, Microsoft YaHei, PingFang SC, Hiragino Sans GB, Source Han Sans SC, Source Han Sans CN, Source Han Sans, sans-serif;

    /*font-family: "-apple-system, BlinkMacSystemFont, Segoe WPC, Segoe UI, HelveticaNeue-Light, Noto Sans, Microsoft YaHei, PingFang SC, Hiragino Sans GB, Source Han Sans SC, Source Han Sans CN, Source Han Sans, sans-serif";*/
}

.nav li > a > span {
    float: right;
}

.subb li.a {
    color: #ff0000;
    height: 10px;
    font-family: -apple-system, BlinkMacSystemFont, Segoe WPC, Segoe UI, HelveticaNeue-Light, Noto Sans, Microsoft YaHei, PingFang SC, Hiragino Sans GB, Source Han Sans SC, Source Han Sans CN, Source Han Sans, sans-serif;

    /*font-family: "-apple-system, BlinkMacSystemFont, Segoe WPC, Segoe UI, HelveticaNeue-Light, Noto Sans, Microsoft YaHei, PingFang SC, Hiragino Sans GB, Source Han Sans SC, Source Han Sans CN, Source Han Sans, sans-serif";*/
}

.nav ul li {
    background: none;
    width: 100%;
    font-family: -apple-system, BlinkMacSystemFont, Segoe WPC, Segoe UI, HelveticaNeue-Light, Noto Sans, Microsoft YaHei, PingFang SC, Hiragino Sans GB, Source Han Sans SC, Source Han Sans CN, Source Han Sans, sans-serif;

    /*font-family: "-apple-system, BlinkMacSystemFont, Segoe WPC, Segoe UI, HelveticaNeue-Light, Noto Sans, Microsoft YaHei, PingFang SC, Hiragino Sans GB, Source Han Sans SC, Source Han Sans CN, Source Han Sans, sans-serif";*/
}

.nav ul li a {
    float: none;
    font-family: -apple-system, BlinkMacSystemFont, Segoe WPC, Segoe UI, HelveticaNeue-Light, Noto Sans, Microsoft YaHei, PingFang SC, Hiragino Sans GB, Source Han Sans SC, Source Han Sans CN, Source Han Sans, sans-serif;

    /*font-family: "-apple-system, BlinkMacSystemFont, Segoe WPC, Segoe UI, HelveticaNeue-Light, Noto Sans, Microsoft YaHei, PingFang SC, Hiragino Sans GB, Source Han Sans SC, Source Han Sans CN, Source Han Sans, sans-serif";*/
}

.nav ul li:hover > a {
    background-color: #1e1e1e;
    /*color: #00B4FF;*/
}

.file {
    position: relative;
    display: inline-block;

    overflow: hidden;
    text-decoration: none;
    text-indent: 0;

}

.file input {
    position: absolute;
    right: 0;
    opacity: 0;
    top: -10px;
    height: 100px;
}

.file:hover {
    text-decoration: none;
    height: 500px;
}

.selfBtn {
    text-transform: uppercase;
    font-weight: 300;
    padding: 2px;
    font-size: 1.1em;
    background: url('menu_line.png') no-repeat scroll right 5px transparent;
    color: #494949;
    margin-top: 10px;
    background-color: #000000;
    border: none;
    cursor: pointer;
    -webkit-font-smoothing: antialiased;
    outline: medium
}

select {
    outline-color: #595757;
    font-size: 14px;
    border: #595757 1px solid;
    height: 21px;
    background: #212121 0px 0px;
    color: #ccc;
    outline: medium
}

.rightSideBar {
    float: right;
    margin-top: 7px;
    margin-right: 10px;
    padding-left: 10px;
    -webkit-user-select: none
}

.rightSideBar span {
    color: #bababa;
}

.rightSideBar input {
    color: #FFF;
    width: 40px;
    height: 20px;
    text-align: center;
    background: #222;
    color: #BABABA;
    border: 1px solid #595757;
}

.element {
    float: left;
    color: #bababa;
    font-size: 14px;
    padding-left: 7px;
    cursor: default;
}

.element img {
    margin-top: 10px;
}

#backImgdiv {
    display: none;
}

/* 菜单 */
.menu-top-bar {
    display: flex;
    height: 44px;
    justify-content: flex-end;
    width: calc(100% - 50px);
    margin-left: 50px;
}

.menu-left {
    /* position: absolute; */
    /* width: calc(100% - 190px); */
    /* left: 50px; */
    display: flex;
    flex: 1;
    z-index: 10000002;
    height: 44px;
    /* background-color: #1e1e1e; */
}

body.monaco-shell {
    background-color: #1e1e1e;
}

.menu-left .align_left {
    display: flex;
    flex-direction: column;
    z-index: 1000;
}

.menu-left .dhtmlxMenu_material_Middle {
    height: auto;
    line-height: normal;
}

.dhtmlxMenu_material_SubLevelArea_Polygon[id*=cloudMenu] {
    margin-left: 50px;
    top: 0!important;
    left: 0!important;
}

.dhtmlxMenu_material_SubLevelArea_Polygon .sub_item_dis {
    display: none;
}

body div.dhtmlxMenu_material_SubLevelArea_Polygon tr.sub_sep td {
    height: 5px;
}


body div.dhtmlxMenu_material_SubLevelArea_Polygon td {
    font-size: 12px;
}

body div.dhtmlxMenu_material_SubLevelArea_Polygon td.sub_item_text div.sub_item_text {
    min-width: 80px;
}

body div.dhtmlxMenu_material_SubLevelArea_Polygon  {
    z-index: 99999999 !important;
}

#listMenu_con,
#codeMenuList,
#uicodeMenuList,
#layaaskMenuList {
    top: 0px;
    left: 0px;
    width: 50px;
    height: 44px;
    background-color: transparent;
    z-index: 10000005;
    position: absolute;
}

#codeMenuList .dhtmlxMenu_material_TopLevel_Item_Selected,
#codeMenuList .dhtmlxMenu_material_TopLevel_Item_Normal,
#uicodeMenuList .dhtmlxMenu_material_TopLevel_Item_Selected,
#uicodeMenuList .dhtmlxMenu_material_TopLevel_Item_Normal,
#layaaskMenuList .dhtmlxMenu_material_TopLevel_Item_Selected,
#layaaskMenuList .dhtmlxMenu_material_TopLevel_Item_Normal {
    background-color: transparent;
    width: 50px;
    height: 44px;
    padding: 0;
}

.menu-right {
    /* position: absolute; */
    right: 0px;
    z-index: 200000001;
    width: 130px;
    max-width: 130px;
    min-width: 130px;
    display: flex;
    justify-content: flex-end;
    padding-right: 10px;
}

/* 菜单拓展区域 */
.menu-expand {
    right: 120px; 
    height:29px;
    display: flex;
    -webkit-app-region: no-drag;
    padding-top: 2px;
}

#avatarWrapper {
    width: 13px;
    height: 15px;
    cursor: pointer;
    background-size: 13px 30px;
    padding: 5px 10px 5px 10px;
    background-repeat: no-repeat;
    background-origin: content-box;
    background-clip: content-box;
    margin-top: 6px;
}

#avatarWrapper:hover,
#avatarWrapper:active {
    background-position-y: -15px;
}

li#ide_nav_close {
    width: 10px;
    height: 10px;
    background-size: 10px 20px;
    padding: 5px 10px 5px 10px;
    margin-top: 9px;
}

li#ide_nav_max {
    width: 12px;
    height: 12px;
    background-size: 12px 24px;
    padding: 5px 10px 5px 10px;
    margin-top: 8px;
}

li#ide_nav_max.max {
    width: 15px;
    height: 14px;
    background-size: 15px 28px;
}

li#ide_nav_min {
    width: 12px;
    height: 2px;
    background-size: 12px 4px;
    padding: 5px 10px 5px 10px;
    margin-top: 14px;
}

#ide_nav_min,
#ide_nav_max,
#ide_nav_close {
    cursor: pointer;
    background-repeat: no-repeat;
    background-origin: content-box;
    background-clip: content-box;
    margin-top: 6px;
}

#ide_nav_min:hover,
#ide_nav_max:hover,
#ide_nav_close:hover,
#ide_nav_min:active,
#ide_nav_max:active,
#ide_nav_close:active {
    background-color: transparent;
}

#ide_nav_min:hover,
#ide_nav_min:active {
    background-position-y: -2px;
}

#ide_nav_max:hover,
#ide_nav_max:active {
    background-position-y: -12px;
}

#ide_nav_max.max:hover,
#ide_nav_max.max:active {
    background-position-y: -14px;
}

#ide_nav_close:hover,
#ide_nav_close:active {
    background-position-y: -10px;
}

.reward-show-area {
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    user-select: none;
    z-index: 299999999;
}

.show-area-container {
    position: absolute; 
    width: 382px;
    z-index:10;
    top: 44px;
    right: 10px;
}

.qrcode-wrapper {
    width: 382px;
    position: relative;
}

.qrcode-bg {
    width: 220px;
    height: 186px;
    margin-left: 81px;
}

.qrcode-hint-text {
    position: relative;
    top: -15px;
    text-align: center;
    font-size: 14px;
    color: #2f3f51;
    width: 100%;
}

#rewardQrcode {
    position: absolute;
    top: 40px;
    left: 125px;
}

.reward-hint-text {
    font-size: 18px;
    color: #2f3f51;
    background-color: #eeedf3;
    width: 280px;
    height: 40px;
    line-height: 40px;
    margin-left: 51px;
    text-align: center;
    border-radius: 20px;
}

.reward-show-area .title {
    font-size: 14px;
    color: #2f3f51;
    text-align: center;
    margin-bottom: 20px;
}

/* .sidebar.left .composite.title {
    margin-top: 10px;
    margin-bottom: 8px;
} */

.divide-area {
    display: flex;
    justify-content: space-between;
}

.divide-left-img {
    width: 35px;
    height: 35px;
    margin-left: -14px;
}

.divide-middle-area {
    display: flex;
    flex: 1;
    background-color: #fff;
}

.divide-middle-line {
    border-top: 1px solid #eeedf3;
    /* display: inline-block; */
    display: flex;
    flex: 1;
    margin-top: 17.5px;
}

.divide-right-img {
    width: 35px;
    height: 35px;
    margin-right: -14px;
}

.reward-list-wrapper {
    height: 335px;
}

#rewardListArea {
    display: flex;
    flex-wrap: wrap;
    overflow-y: hidden;
    max-height: 300px;
    cursor: pointer;
}

#rewardListArea::-webkit-scrollbar{
    width: 0px;
}

.reward-item {
    display: inline-block;
    width: 191px;
    box-sizing: border-box;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-bottom: 16px;
    padding-left: 22px;
}

.ranking {
    width: 14px;
    height:14px;
    line-height: 14px;
    transform: translateY(2px);
}

.ranking-num {
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 7px;
    line-height: 14px;
    font-size: 14px;
    color: #c1c1c1;
    border: 1px solid #c1c1c1;
    text-align: center;
}

.name {
    font-size: 14px;
    line-height: 14px;
    color: #8d98af;
    margin-left: 12px;
}

/* @media (max-width: 670px) {
    ul.nav, .menu-expand {
        background-color: #1e1e1e;
    }
} */

#menuAdvertising {
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    color: aqua;
    line-height: 44px;
    padding-right: 10px;
    text-decoration: underline;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}